﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Business.Sales.Repositories
{
    public interface ISaleQuotationOrderRepository : IRepository<SaleQuotationOrder , Guid>
    {
        Task<int> GetCountAsync(Guid? quotationId, Guid? quotationItemId, Guid? orderId, Guid? orderItemId, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<SaleQuotationOrder>> GetListAsync(Guid? quotationId, Guid? quotationItemId, Guid? orderId, Guid? orderItemId, CancellationToken cancellationToken = default(CancellationToken));
    }
}
